.size(@w,@h:@w) {
  width: @w;
  height: @h;
}

.flex-center(@jc:flex-start) {
  display: flex;
  align-items: center;
  justify-content: @jc;
}

.text-ellipse {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.text-ellipse-row(@num) {
  word-break: break-all;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: @num;
  overflow: hidden;
  white-space: normal;
  word-break:break-all
}


